<div class="breadcrum">
    <p>
        <a href="{$config->site_url('master/overview')}">Master</a>
        <span></span><a href="{$config->site_url('master/project')}">Klien</a>
        <span></span><small>Hapus Data {$result.project_name|default:''}</small>
    </p>
    <div class="clear"></div>
</div>  
<div class="sub-content">  
    <div class="navigation">  
        <div class="navigation-button">
            <ul>
                <li><a href="{$config->site_url('master/project/add')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/add-icon.png">Tambah Data</a></li>
                <li><a href="{$config->site_url('master/project')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/icon.notes.blue.png">Daftar Data</a></li> 
            </ul>
            <div class="clear"></div>
        </div>
    </div> 
    <!-- notification template -->
    {include file="base/templates/notification.html"}
    <!-- end of notification template--> 
    <form action="{$config->site_url('master/project/delete_process')}" method="post">
        <input type="hidden" name="project_id" value="{$result.project_id|default:''}">
        <table width="100%" class="table-input">
            <tbody>
                <tr class="headrow">
                    <th colspan="2">Hapus Project</th>
                </tr> 
                <tr>
                    <td width="25%">Nama</td>
                    <td><b>{$result.project_name|default:''}</b></td> 
                </tr> 
                <tr>
                    <td>Perusahaan</td>
                    <td>
                        {foreach from=$rs_perusahaan item=data}
                            {if $result.perusahaan_id == $data.perusahaan_id}
                                {$data.perusahaan_nama|default:''}
                            {/if}
                        {/foreach}
                    </td> 
                </tr>
                <tr>
                    <td>Klien</td>
                    <td>
                        {foreach from=$rs_klien item=data}
                            {if $result.klien_id == $data.klien_id}
                                {$data.klien_nama|default:''}
                            {/if}
                        {/foreach}
                    </td> 
                </tr>
                <tr>
                    <td>PM</td>
                    <td> 
                        {foreach from=$rs_pm item=data}
                            {if $result.project_pm == $data.user_id}
                                {$data.petugas_name|default:''}
                            {/if}
                        {/foreach}
                    </td> 
                </tr> 
                <tr>
                    <td>Periode Project(Mulai - Selesai)</td>
                    <td>{$result.project_startdate|date_format:'%d %B %Y'} s/d {$result.project_enddate|date_format:'%d %B %Y'}</td> 
                </tr> 
                <tr>
                    <td>Sosialisasi</td>
                    <td>{if $result.project_sosialisasi == '1'}Sudah{else}Belum{/if}</td> 
                </tr>
                <tr>
                    <td>Pelatihan</td>
                    <td>{if $result.project_pelatihan == '1'}Sudah{else}Belum{/if}</td> 
                </tr>
                <tr>
                    <td valign="top">Deskripsi</td>
                    <td>{$result.project_description|default:''}</td> 
                </tr> 
                <tr>
                    <td valign="top">KAK</td>
                    <td>{$result.project_kak|default:''}</td> 
                </tr>
                <tr>
                    <td valign="top">Kontak Person Klien</td>
                    <td>{$result.project_cpproject|default:''}</td> 
                </tr> 
                <tr class="submit-box">
                    <td colspan="2">
                        <input type="submit" class="edit-button" value="Hapus" name="save[insert]"> 
                    </td>
                </tr>
            </tbody>
        </table>
    </form> 
</div>